package gptma.bo.model.application;

import gptma.bo.model.BaseEntity;

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "groupeApplications")
@AttributeOverride(name = "id", column = @Column(name = "groupeApplicationsId"))
public class ApplicationGroup extends BaseEntity {

	private static final long serialVersionUID = 5442090025684725189L;

	@Column(name = "nom")
	private String name;

	@Column(name = "secteurActivites")
	private String domain;

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the domain
	 */
	public String getDomain() {
		return domain;
	}

	/**
	 * @param domain
	 *            the domain to set
	 */
	public void setDomain(String domain) {
		this.domain = domain;
	}

}
